package com.geektime.congestion.auth.service;

import java.util.Map;

public class MemoryServiceImpl implements CredentialStorage {

    private static final Map<String, String> appIdSecretMap = Map.of(
            "k1", "v1",
            "k2", "v2"
    );

    @Override
    public String getSecretFromDB(String appId) {
        return appIdSecretMap.get(appId);
    }

}
